package cirno.open.api.service;

import cirno.open.api.entity.ExecuteRequest;
import cirno.open.api.entity.ExecuteResponse;
import cirno.open.api.enums.LanguageCmdEnum;

public interface DockerSandboxService {
    ExecuteResponse execute(LanguageCmdEnum languageCmdEnum, String code,boolean onlyCompile);

    ExecuteResponse compile(LanguageCmdEnum languageCmdEnum, String code);

    void validateParams(ExecuteRequest request);
}
